Welcome to the Blitz Basic Program Collection. This is a collection of source code examples for Blitz programmers. It is also home to the new Blitz Basic Mailing List FAQ. There has been a lack of updates recently due to a low number of submissions. Please, if you have any source code that could be useful to others, send it in. To submit code, put your Blitz Basic source code together in an archive with documentation and I will put it here. I may modify the archive to reduce it's size if necessary as I want the archives to be as small as possible. If you have any trouble with out-of-memory errors when compiling code from here, try deleting the .xtra file that goes with the source. I think it is something to do with the version of Blitz you are using. Some programs also require the command libraries that come with the Blitz Support Suite from Red When Excited. All the source is now packed using LZX. You can get the Lzx121.lha archive from Aminet if you need it. If you have any comments, suggestions or submissions, let me know at awingrove@thenet.co.uk. |
I have recently been working with people from the Blitz
Basic Mailing List to compile a new Frequently Asked Questions document
for the list. The first version of this FAQ is now complete and
available in plain text, AmigaGuide and HTML formats. Download the FAQ
using the links below or browse the HTML
version online.
|
![]() |
|
8-Way Scroller UPDATED | |
Updated Blitz source code example of 8 way scrolling, by Liz Tucker. Now includes a 2 way scrolling example. | |
Catalog / Locale Example | |
How to use the Locale feature, from Paul Burkey. | |
Modem Dial Routine | |
Shows how to dial a modem using serial commands, from Paul Lathwell. | |
GT ListView and Cycle Gadget Example | |
Here is a short example showing how to use GT ListView and Cycle gadgets from Daithi O Cuinn. | |
ClipFTXT | |
Example of using the OS clipboard functions from Anthony Borg. | |
SetTitle | |
Shows a hack to stop memory loss when setting a window's title. | |
Amiga Cool Buttons | |
PC Internet Explorer-style buttons in Blitz. | |
Windows For Beginners | |
A tutorial on using Windows from Simon Archer. | |
Code from Andy Macklin | |
Example source code for various things from Andy Macklin. | |
Anthony Brice's Code | |
Programs and useful source from Anthony Brice. | |
Spline Examples | |
Examples of drawing splines from Raith Munro. | |
Berhan Karagöz's Demos | |
Three demos from Berhan Karagöz. | |
Erase v1.0 | |
Blitz example with source, by Paul Lathwell. | |
Richard Hodger's Code | |
The source code for several small programs, by Richard Hodger. | |
Bastion v1.0 | |
Password protect workbench and encrypt important files. | |
Blitz Arexx Examples | |
Examples of adding ARexx support to your Blitz program. | |
SMech GUI | |
GUI for SMech, a Battletech database program. | |
BSpline Example | |
Demonstration program for drawing bsplines. |
![]() 8-Way ScrollerThese archive contain blitz source code that shows you how to create 2-way and 8-way scrolling using the method of opening a double size bitmap to scroll a map of 16 x 16 pixel blocks. The archives also contain data files to go with the example. These are written by Liz Tucker. |
8WayScroll.lzx
2WayScroll.lzx |
![]() Catalog / Locale ExampleFrom Paul Burkey, this source code demonstrates using the using the Locale feature of OS2.1+ to make your programs easy to translate in to other languages. |
Locale.lzx
|
![]() Modem Dial RoutineThis example from Paul Lathwell shows how to dial a phone number via a modem. This shows how to use the Blitz commands for using accessing the serial port. AmigaLibs must be resident to use this. |
DialNumber.lzx
|
![]() GT ListView and Cycle Gadget ExampleThis is a short example from Daithi O Cuinn that shows how to use the GadTools ListView and Cycle gadgets. I had a small problem with Blitz not cleaning up correctly on exit, but the code works fine so I am not sure if it was just me. |
GTGads.lzx
|
![]() ClipFTXTThis is an example of using the Amiga OS functions for th clipboard from Blitz. It writes ASCII text to the clipboard unit as FTXT. The example writes FTXT to the clipboard first, then reads it back. This code was submitted by Anthony Borg. |
ClipFTXT.lzx
|
![]() SetTitleThis is a small example of how to change the title for a window without memory loss. Both the Blitz command and the OS command all lose memory when you set the title, so a clock-type program can quickly use up a significant amount of memory. This example shows a bit of a hack that fixes the problem. |
SetTitle.lzx
|
![]() Amiga Cool ButtonsHere is something I've been working on a bit as a bit of an exercise. It allows you to use Cool Buttons in your programs. Cool Buttons are the Internet Explorer-style buttons from the PC. It's all a bit hard-coded at the moment, but I intend to finish the package as a fully useable system. The buttons included are designed for 2x1screens.Have some fun with it! |
CoolButtons.lzx
|
![]() Windows For BeginnersThe is a collection of 20 source code examples of using windows in Blitz. Together they form a tutorial on the basics of window programing. All the source is well commented and will show you how to use all the important features of Workbench's windows. This tutorial was written by Simon Archer. |
Wfb.lzx
|
![]() Code From Andy MacklinThis is a collection of examlpe source code mainly for windows and gadtools. These include an example of filling the background of a window with a pattern and using the ReqTools screen mode requestor. The code was submitted by Andy Macklin, but not all of it was written by him. If you recognise your code and want it removed from here, let me know. |
AMacklin.lzx
|
![]() Anthony Brice's CodeHere is a collection of source code from Anthony Brice. Amigator lets you add and delete users from your amigate file ( whatever that is! ). Blitzio lets you monitor the input and output of your Amiga. Functions is a collection of useful bits of code. Phonebase is a simple name and address database. Zeus-Toggle switches your Zeus BBS on-line and off-line with a GUI. |
Amigator.lzx
BlitzIO.lzx Functions.lzx PhoneBase.lzx ZeusToggle.lzx |
![]() Spline ExamplesThis is two examples of drawing splines from Raith Munro and very nice they are too. One does splines by cheating a bit. The other does splines with control points. |
Spline.lzx
|
![]() Berhan Karagöz's DemosThese archives are three demos from Berhan Karagöz. Crazey demonstrates scrolling a picture smoothly. Demo shows palette changes and shaking a picture. Prn-Pap is another demo of scrolling a large picture smoothly. I believe all the code requires AGA to run as it is. |
Crazey.lzx
Demo.lzx Prn-Pap.lzx |
![]() Erase v1.0Erase is a simple program to open a requester for deleting files, rather than having to resort to a directory utility, CLI or Workbench. It shows how to use the NeilsReqToolsLib to use reqtools requesters in your programs. It was written by Paul Lathwell and is the first submission to the Blitz source code collection. |
Erase.lzx
|
![]() Richard Hodger's CodeThis archive is a collection of source code from Richard Hodger. He naughtily did not include any documentation, but most of them should not be too difficult to work out. Email him if you have any problems. Highlights include a nice progress bar example and several examples of finding information about the Amiga your program is running on. |
RHodger.lzx
|
![]() Bastion v1.0 betaBastion is a password protection program for the Amiga written by myself in Blitz Basic 2. It will only allow access to Workbench by entering a valid user name and password. In order to combat the problem of the 'boot with no startup-sequence', it can encrypt any files you select and they are only decrypted on a successful login. Some AmigaDOS commands are recommended to be encrypted ( such as delete, ed, copy, etc. ), but you can easily select your private files too. Up to 10 users can be added with their own passwords, but this version does not allow for different encryption setups for each user. This archive contains the programs, source and documentation for Bastion. Note that this is beta. It is untested so far on any machine except mine. |
Bastion.lzx
|
![]() Blitz ARexx ExamplesI have written two small Blitz programs as examples of how to use ARexx in Blitz programs. One uses the standard Blitz ARexx commands, the other the RIARexxLib. I hope these help people looking to add ARexx ports to their programs. The example provides a basic ARexx port for accepting commands and shows how commands can be sent to other programs. |
ArexxTest.lzx
|
![]() SMech GUISMech is a program for the Amiga that contains a database of most Battletech mechs. It can output these in several ways and contains all the info on armour, weapons and equipment. However, it is a CLI only program, so I wrote a GUI for it to specify the search criteria and call your favourite text viewer to view the results. The archive contains the program and source for SMech GUI. I have also placed a link to SMech on Aminet. SMech GUI is a full version 1.0 and is distributed as freeware. |
SMechGUI.lzx
SMech11.lha from Aminet |
![]() BSpline ExampleThis is a program that was originally written for Windows for an assignment at college. I have converted it to Blitz Basic 2 and optimised it to run a bit more efficiently. It does not do anything except draw bsplines. It's just an example. Source code is included. |
BSpline.lzx
|
Foundation Homepage | Home of Paul Burkey's game written in Blitz. |
Paul Lathwell's Homepage | Home of Paul Lathwell, who has submitted a couple of the Blitz code examples. |
Club Blitz | A Blitz Basic support page. |
You are vistor number
©1997 Alexander Wingrove.
Contact me at awingrove@thenet.co.uk
Visit my Home Page